<template>
    <div v-if="t_isShow" style="
    padding: 5px;
    position: fixed;
    
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(67, 148, 40);
    text-align: center;
    border-radius: 8px;
    
    color: #ffffff;
	font-size: 16px;
    font-weight: 900;
    left: 0;
    right: 0;
     margin: 0 auto;
     width: 360px;
">{{titleText}}</div>
</template>
<script>
//import {mapGetters} from 'vuex';

export default {
  name: 'titleLenged',
  props: {
    isShow:{
      type: Boolean,
      default:false
    },
    titleText:{
      type: String,
      default:''
    }
  },
  data() {
    return {
      t_isShow:this.isShow,
      t_title:this.titleText,
    };
  },
  watch: {
    isShow() {
      this.t_isShow = this.isShow;
    },
    title() {
      this.t_title = this.titleText;
    }
  },
 
};
</script>

